//
//  DQNewViewController.m
//  DQBaisibudejie
//
//  Created by 杜倩 on 16/8/29.
//  Copyright © 2016年 杜倩. All rights reserved.
//

#import "DQNewViewController.h"
#import "UIBarButtonItem+buttonItem.h"
@interface DQNewViewController ()

@end

@implementation DQNewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self addItem];
    self.view.backgroundColor=[UIColor whiteColor];
}

-(void)addItem{
    
    //设置最新
    UIBarButtonItem *itemL=[UIBarButtonItem barButtonItemWith:[UIButton buttonWithType:UIButtonTypeCustom] addTarget:self action:@selector(BtnleftClick) andImage:@"review_post_nav_icon_20x17_" andhightLighted:@"review_post_nav_icon_click_20x17_"];
    
    self.navigationItem.leftBarButtonItem=itemL;

}
#pragma mark 单击事件
-(void)BtnleftClick{
    NSLog(@"%s",__func__);
}

@end
